Help with creating a Regular Expression
Posted on 2007-08-01
Trying to repost this question worded better to get an answer closer to what I want. I'm using Visual Studio 2005, C#, .Net Framework 2.0
Here is the text i'm parsing from (just a made up sample): "heading 90 degrees east, crossing a junction found on the south side at 14 mm, a total distance of 27 mm to the intersection"
In that example, what I need to pull out is "east 27 mm" or "east a total distance of 27 mm". Either one will work for what i'm doing with CAD instructions. I do NOT want to pull out "east, crossing a junction found on the south side at 14mm, a total distance of 27 mm", that really doesn't help me much. To do that you can just do (east).*a total distance of.* or some such which isnt what I need.
Thanks in advance!