Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

regularExpression in SSRS report?

hi,

It looks like I could use the =System.Text.RegularExpressions.Regex.Replace(Fields!Phone.Value, "(\d{3})[ -.]*(\d{3})[ -.]*(\d{4})", "($1) $2-$3") in SSRS 2005 report.
But when I try to do it, =System.Text. didnot have the RegularExpressions object.
It doesn't show up in the dropdown.

I have this field in this format ((xxxxxx*)) xxxxx*, I want to grab the ((xxxx)) part using the regular expression. I want to look for (( & )) and grab everything between them.

Thanks.

ASKER CERTIFIED SOLUTION
Avatar of Megan Brooks
Megan Brooks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial