how to split string after first occurrence of alphanumeric character?

how to split string after first occurrence of alphanumeric character?

String strArray="135(i),15a,14(g)(q)12,67dd(),kk,159";//splited by ','

divide string after first occurrence of alphanumeric value/character

expected output :

          original         expected o/p
          15a              s1=15   s2=a
          67dd()           s1=67   s2=dd()
          kk               s1=""   s2=kk
          159              s1=159  s2=""

Please help me................

View Answers









Related Tutorials/Questions & Answers:
how to split string after first occurrence of alphanumeric character?
how to get string after first occurence of alphanumeric char in java?
Advertisements
How to find the first 6 characters of string in regex?
ModuleNotFoundError: No module named 'split-alphanumeric'
How to split string in Java?
MySQL replace all non alphanumeric characters
How To Protect Special Characters in Query String?
Java String Occurrence in a String
Split string after each character using regular expression
how to get string between two characters
How to Remove Repeated Characters from the String?
How to split string in Java using comma?
split string with regular expression
JavaScript split string into words.
Iterating the Characters of a String
Count Characters from the input string Java
Remove duplicate characters from the string
Removing characters from a string
JavaScript split string into array
Stripping of unwanted characters from string
Java String Split Example
array split string
String Functions In Java
Java replace all non alphanumeric
Remove Repeated Characters from the String
Split in java
how to load value in dropdown list after selecting value from first dropdown list using javascript
Java split string example
i have split a string by space ,done some operation and now how to properly order them for sending a mail in java or jsp - JSP-Servlet
Java count frequency of words in the string
Alphanumeric Validation in JavaScript
What is the first argument of the String array in main() method?
Escaping Special Characters in a Pattern
Java 11 String lines function example to split it in lines
Java 11 String lines function example to split it in lines
Use of <fn:split(String, String)> and <fn:join(String, String)> Tag of JSTL
How to avoid the Special characters? - JDBC
How to Split a large XML file using java?
how can i remove newline characters and tabs
Updating variables in a loop? and only printing certain messages after the first iteration?!
javascript regex validation alphanumeric
C String uppercase
HOW WRITE GREEK CHARACTERS INTO MYSQL BY JSP ?
writing characters
Split Data
Retrieving String after given Regular expression
Protect Special Characters.
C String lowercase
Java String Case Converter
How a split a file into many based on size?

Ads