troubleshooting Question

Regular Expressions in Oracle 8i in a Query

Avatar of cormierg1
cormierg1 asked on
Oracle Database
4 Comments1 Solution1135 ViewsLast Modified:
Hi.

I have columns that store items for web pages. Sometimes I put some HTML tags inside these since it makes things easier.

Unfortunately, this messes up the ORDER BY since '<' comes before alphabetic characters.

Oracle 8i does not have built in Regular Expressions :(

However I have found this page

http://www.adp-gmbh.ch/ora/plsql/owa_pattern.html

Would it be possible for me to create a PLSQL function, say, strip_html(), and then do a

SELECT id, strip_html(title) AS cleanTitle FROM xxxx ORDER BY cleanTitle

?

If so, what would I put in this strip_html plsql procedure?

Thanks,
Greg
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros