SOLVED
RegEx replace HTML tag with nothing
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
hellyars
13 - Pulsar
‎03-08-2019
01:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I want to remove a specific HTML tag and replace it with nothing.
<div style="text-align: center;">
I tried using a RegEx tool with the following expression.
^.*(<div style="text-align: center;">).* or
(^<div style="text-align: center;">).*
Both failed.
Solved! Go to Solution.
Labels:
- Labels:
- Expression
- Help
- Regex
1 REPLY 1
20 - Arcturus
‎03-08-2019
01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
please try this:
REGEX_Replace([Field1], "<div style=.*?>", '')
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
