J
Junkone
I have a very complex regex requirement and need some hand here. I can
do only very basic regex.
I need to do the following
add <symbol f|s i|p|e h|l number >
1. has to be either of the following strings add , modify
2. followed by any word composed of string or number
3. followed by one of the 2 letters f,s
4. followed by either one or more of the letters i,p,e
5. followed by of letters followed by number. the letters can be
either h or l and the number can be decimal or round number.
for eg. h <decimal or number> and/or l <decimal or number>
appreciate any help here.
do only very basic regex.
I need to do the following
add <symbol f|s i|p|e h|l number >
1. has to be either of the following strings add , modify
2. followed by any word composed of string or number
3. followed by one of the 2 letters f,s
4. followed by either one or more of the letters i,p,e
5. followed by of letters followed by number. the letters can be
either h or l and the number can be decimal or round number.
for eg. h <decimal or number> and/or l <decimal or number>
appreciate any help here.