regex


Regex Replace 406 with 401


In the following example, I am trying to replace the 00406 and the 004060 with 00401 and 004010 using Regex Replacer. I can't get it to work. I don't have a lot of experience with Regex. Where is the error?
Find - (ISA*\d\d*.*?).*00406|\?|004060|
Replace - \1*00401|~|004010|~
ISA*00* 00 *14*0123456789100 *12*9876543218 *151130*0913*|*00406*000000303*0*P*>~
GS*FA*1234567890100*9876543218*20151130*0913*245*X*004060~

Related Links

How can I recognize the following group of strings using a grammar or regex?
htaccess redirect begins with
grep through binary file
Printing Text on Perl with RegEp
Regexp for substitution of anything other than numbers and 'N/A'
This regex is inefficient. Why does it crash Sublime Text 2's stack?
Posix regex in Postgresql to extract from quoted text?
Regular expression sequence matching
Perl change number to words
regex to match value up to 2 decimal
What is the mappings.ts file and how should it be set up in Tritium?
Symfony2 IBAN Validator returns false for valid UK IBAN
Regex to find anchor tags which are without http or https in the href attribute
What's the difference between [:space:] and [:blank:]?
Regex to replace &nbsp with
How do I replace one or more whitespace characters using the replace() function in XQuery?

Categories

HOME
opencv
unit-testing
hortonworks-data-platform
prebuild
svg.js
addeventlistener
mvvm-light
windows-server-2012-r2
webdriver-io
range
jena
intl
wso2-das
cobol
obiee
frequency
aar
jgit
beanstalkd
co
nested-set-model
montecarlo
eonasdan-datetimepicker
effects
phonegap-desktop-app
flexjs
memorystream
android-arrayadapter
graphql-dotnet
temp
azure-api-apps
ose
dashboard-designer
nav
partition
quicksand
botkit
android-gps
jquery-masonry
tpl-dataflow
attributerouting
manifoldcf
rails-console
redux-framework
proc
xceed
ocsp
cufft
singly-linked-list
finalcut
android-number-picker
cover
bash-completion
gcloud-java
cucumber-java
mysqladmin
sqlj
radix-sort
text-alignment
appv
double-quotes
error-log
stringr
generalization
wso2as
swift-array
isql
android-tablelayout
chatjs
esx
brooklyn
monk
clearcase-remote-client
ash
xacml3
keyboard-navigation
windward
validform
jxta
batman.js
external-dependencies
ccombobox
mms-gateway
northwind
datadesign
eject
vote
qbwc
xml-dtd
adaboost
hpple
expressionvisitor
data-oriented-design
directoryentry
network-scan
run-length-encoding
crc-cards

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App