regex


How to replace word in notepad++ that begins with certain word plus number of bytes


I want to replace that number with format of YYYYMMDDHHMMSS with "".
For example: 20130618100147 SOME TEXT HERE
I tried the to find the 2013(.*)$ in notepad++ (Regular Exp, Wraparound) but every word that next to 2013 deleted in the same line. How can I able to replace only the word starting with 2013 plus the 10 bytes?
2013\d{10} will match 2013 and 10 digits after it.
UPD:
Here's a slightly improved version of the regex:
2013[0,1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9]
that will still match, for example, 20130601000000 because it's a valid timestamp.
(2013\d{10})
This will match and capture the entire string. then you will just need a regex.replace to get rid of it.
Capture anything up until the first occurrence of a space???
(2013\d*\s)

Related Links

RegExp regular expression find & replace whole words only
Given a certain regex pattern, re-arrange and manipulate the contents of a cell
Regular expression“\\|” in strsplit
Parsing sectioned file with augeas
I need search a pattern in a header line of my file and concatenates the next line with Perl
Regular Expression statement to replace text inside two literals
RegEx pattern with not followed by
How to pull words based on positioning from a text element using Regex?
Remove C/C++, Multiline comments from a array in which file is read
Regexp match time expression (mmmm:ss)
How do I create a regex in Emacs to capture text between double square brackets?
How to set a RegExp to have a real matching judgement?
Editing a line of a configuration file from shell
Perl replace the top-level numbers only from a tree
Regular Expressions match exactly 7 or 9 digits
How to accept numbers and specific words?

Categories

HOME
apache-spark
magento
compiler-errors
bolt-cms
fonts
styling
amazon-kinesis
intel-xdk
addeventlistener
classloader
documentation
socrata
plotly
push
development-environment
command-line-interface
vulkan
zend-expressive
condor
data-annotations
orientdb-2.1
aerospike
thrift
oracle11gr2
servlet-filters
google-finance
ghost-blog
robotium
ratchet-2
stylesheet
dsl
phonegap-desktop-app
paket
sql-server-2014-express
parallax.js
solarwindslem
bluebird
vue-router
imagemapster
querydsl
rhel7
deep-copy
google-crawlers
gridstack
joe-editor
windows-scripting
permgen
codeigniter-hmvc
jquery-ui-dialog
xargs
botkit
requirements-management
kony
ice
biological-neural-network
liclipse
lcov
surroundscm
setwindowshookex
ubuntu-15.04
oracle-policy-automation
cover
asp.net-webpages
js-of-ocaml
administrator
parsoid
greenfoot
laravel-forge
sejda
openejb
session-replication
julian
node-orm2
keypad
abort
odoo
getuikit
modern-ui
servlet-listeners
citymaps
lwuit-list
iphone-privateapi
subdirectory
bunny
cellular-automata
youtrack-api
jqgrid-php
sshj
xhtml-transitional
jquery-data
nsmanagedobjectmodel
adlds
couchpotato
hogan.js
java-ee-5
squirrelmail
documentviewer
process.start
ladon
ramaze
closest
combinators
jquery-pagination
pastebin
network-scan
cracker
metaphone
reference-library
roguelike

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