/
Extracting substrings in Unix

Extracting substrings in Unix

We have received several questions about extracting substrings in Unix. For example, if you have an alphanumeric sequence such as "askdjg_235423_dkfjsn", how would you extract just the numeric portion. Please see the following stackoverflow post for a couple of simple methods: http://stackoverflow.com/questions/428109/extract-substring-in-bash

Copyright © 2024 The President and Fellows of Harvard College * Accessibility * Support * Request Access * Terms of Use