V
vanita_tadake
Hi All,
I want to write conditional regular expression in Java/J2EE.
Any sample example will be preferrable. In Dot Net , conditional regex
are working properly but i want to do it in java/J2EE.
Like i have following regex in dot net which i want to write in java/
J2EE. :-
(([<]title).*(\bcontract(s)?\b|\border(s)?\b|\bsign(s|ed)?\b|
\bw[io]n(s)?\b).*(title[>]))(?=(?>(.|\n)*?([<]body).{1,1000}?(\b(re)?
new\b|\bpen(s)?\b).{1,100}?(\bdeal(s)?\b)))
Any help will be truely appriciated.
Thanks in advance.
I want to write conditional regular expression in Java/J2EE.
Any sample example will be preferrable. In Dot Net , conditional regex
are working properly but i want to do it in java/J2EE.
Like i have following regex in dot net which i want to write in java/
J2EE. :-
(([<]title).*(\bcontract(s)?\b|\border(s)?\b|\bsign(s|ed)?\b|
\bw[io]n(s)?\b).*(title[>]))(?=(?>(.|\n)*?([<]body).{1,1000}?(\b(re)?
new\b|\bpen(s)?\b).{1,100}?(\bdeal(s)?\b)))
Any help will be truely appriciated.
Thanks in advance.