Hi Monks,
I have some doubts with a regex
$data = "Subject: ABCD Details - MICHAEL NICHOLSON - **Senior Sales* (344536)"Here I want to take out the "Senior Sales" (Always separated by**&* like, **Name*)to another string for later use. Need to mention the "Subject:" also in the regex, bcoz some lines are like below,
$data = "NoSub: ABCD Details - MICHAEL NICHOLSON - **Senior Sales* (344536)"and I dont want to take it if the starting is like "NoSub" or anything else. I only want if the Starting is like "Subject:" Thats why in regex, it is necessary to mention the "Subject:" also.
Thanks Monks.
In reply to Regex Question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |