Regex for advanced substitution
I need to regexp for validating text like that:
Matches:
FIELD(val1,val2>res1&val2>res2)
f(val1>12)
FIELD(12>res1&val2>res2)
Not matches:
(val1,val2>res1&val2>res2)
FIELD(,val2>res1&val2>res2)
FIELD(val1,val2>)
Please help. I am really bad in reg. expressions
No comments:
Post a Comment